﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PromotionApp.Model
{
    public class TopicSummary
    {
        #region Private Variable

        private int _TopicId = 0;       
        private string _TopicDescription = string.Empty;        
        private int _NumReplies = 0;       
        private int _NumViews = 0;
        private string _UserName = string.Empty;       
        private string _Email = string.Empty;       
        private DateTime _LastedPostedDate = DateTime.MinValue;
        private DateTime _TopicPostedDate = DateTime.MinValue;       
               
        #endregion

        #region Property

        public int TopicId
        {
            get { return _TopicId; }
            set { _TopicId = value; }
        }

        public string TopicDescription
        {
            get { return _TopicDescription; }
            set { _TopicDescription = value; }
        }

        public int NumReplies
        {
            get { return _NumReplies; }
            set { _NumReplies = value; }
        }

        public int NumViews
        {
            get { return _NumViews; }
            set { _NumViews = value; }
        }

        public DateTime LastedPostedDate
        {
            get { return _LastedPostedDate; }
            set { _LastedPostedDate = value; }
        }

        public string UserName
        {
            get { return _UserName; }
            set { _UserName = value; }
        }

        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }

        public DateTime TopicPostedDate
        {
            get { return _TopicPostedDate; }
            set { _TopicPostedDate = value; }
        }

        #endregion

        #region Constructor

        public TopicSummary()
        {

        }

        #endregion
    }
}